﻿@model IEnumerable<KRM.Core.vWebGetInvoice>
@{
    ViewBag.Title = "DDInvoice";
    Layout = "~/Views/Shared/_PopupLayout.cshtml";
}
@Html.Partial("Partial/_MessageResult")
@if (Model != null)
{
    <div style="padding: 20px;">
        <table class="table table-hover table-bordered table-fix" style="font-size: 13px">
            <thead>
                <tr>
                    <th>CompanyName</th>
                    <th>InvoiceNumber</th>
                    <th>InvoiceAmount</th>
                    <th>InvoiceVAT</th>
                    <th>OrderRef</th>
                    <th>EnteredDate</th>
                    <th>ApprovedDate</th>
                </tr>
            </thead>
            <tbody>
                @foreach (var item in Model)
                {
                    <tr>
                        <td>@item.CompanyName</td>
                        <td>@item.InvoiceNumber</td>
                        <td>@item.InvoiceAmount</td>
                        <td>@item.InvoiceVAT</td>
                        <td>@item.OrderRef</td>
                        <td>@item.EnteredDate</td>
                        <td>@item.ApprovedDate</td>
                    </tr>
                }
            </tbody>
        </table>
    </div>
}
